home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000824-20010305 / 000089_news@columbia.edu _Tue Oct 24 18:09:55 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  13KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id SAA02708
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Tue, 24 Oct 2000 18:09:55 -0400 (EDT)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA13867
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 24 Oct 2000 18:09:54 -0400 (EDT)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA01726
  10.     for kermit.misc@watsun.cc.columbia.edu; Tue, 24 Oct 2000 17:51:56 -0400 (EDT)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: jaltman@columbia.edu (Jeffrey Altman)
  13. Subject: Re: log of a kermit comunication
  14. Date: 24 Oct 2000 21:51:54 GMT
  15. Organization: Columbia University
  16. Message-ID: <8t509q$1lr$1@newsmaster.cc.columbia.edu>
  17. To: kermit.misc@columbia.edu
  18.  
  19. Why do you think that this data conversation is Kermit?
  20.  
  21. In article <Pine.LNX.3.96.1001024185713.5485B-100000@atlanta.i2.com.br>,
  22. Luiz Geraldo Silva Braz  <braz@i2.com.br> wrote:
  23. : Hi,
  24. :    
  25. :    This is a log of kermit comunication that I need to decode.
  26. :    The big questions are:
  27. :  
  28. :     1) What king of command could generate the first string
  29. :        sent to the kermit server?
  30. :        
  31. :              #A&  D#C"@%<ENTER> (see the log above)
  32. :  
  33. :     2) Would this entire comunication be the result of just
  34. :        one c-kermit command or a lot of commands? 
  35. :        What would be this (these) commands?
  36. :  
  37. :     I intend to create a script (using expect) to interact
  38. :     with c-kermit and automate this kind of comunication.
  39. :  
  40. :     I have inserted some coments (***) inside the log.
  41. :     
  42. :     Each set of packets has the sender ID ( "1>" to client and "0>"
  43. :     to the server) and two representations of the data sent in 2 
  44. :     columns.
  45. :     Some non-printbles caracteres are represented by "." at the 
  46. :     rigth column. In the left column appears the Hex code of each 
  47. :     char and the simbol of the non-printblesi char. 
  48. :     Thanks in advance.
  49. : Luiz Braz
  50. : braz@i2.com.br
  51. : PS: Sorry about the errors. This is the first message I have 
  52. :     wroten in English. :-) 
  53. : >-------------------------------------------------------------------------
  54. : *** Estabilishing the connection. 817371001 is just the phone number. :-)
  55. : 1> 0000: 41 54 44 54 30 77 30 33 31 38 31 37 33 37 31 30    ATDT0318173710
  56. :          A  T  D  T  0  w  0  3  1  8  1  7  3  7  1  0  
  57. :    0010: 30 31 0D                                           01.
  58. :          0  1  ^M 
  59. : 0> 0000: 0D 0A 43 4F 4E 4E 45 43 54 20 39 36 30 30 2F 41    ..CONNECT 9600/A
  60. :          ^M ^J C  O  N  N  E  C  T  bs 9  6  0  0  /  A  
  61. :    0010: 52 51 2F 56 33 32 2F 4C 41 50 4D 2F 56 34 32 42    RQ/V32/LAPM/V42B
  62. :          R  Q  /  V  3  2  /  L  A  P  M  /  V  4  2  B  
  63. :    0020: 49 53 0D 0A                                        IS..
  64. :          I  S  ^M ^J 
  65. : *** Connected. Now the client machine sends a data packet (D) with 
  66. :     a kind of escape sequence to the server. I don't know 
  67. :     exactaly what does it mean. I don't know how the
  68. :     kermit server can interpret the commands (escape) inside
  69. :     the data packet. I supose that it is a hot question. 
  70. : 1> 0013: 23 41 26 20 20 44 23 43 22 40 25 0D                #A&  D#C"@%.
  71. :          #  A  &  bs bs D  #  C  "  @  %  ^M 
  72. : *** The server answers with an ack packet (Y) and a unknown M-package. 
  73. :     What kind of package is it? I did't see it at the kermit 
  74. :     protocol description I have?
  75. : 0> 0024: 23 41 25 20 20 59 2A 24 33 0D 23 41 53 20 5F 4D    #A%  Y*$3.#AS _M
  76. :          #  A  %  bs bs Y  *  $  3  ^M #  A  S  bs _  M  
  77. :    0034: 23 4D 23 4A 20 50 45 46 20 53 45 53 53 49 4F 4E    #M#J PEF SESSION
  78. :          #  M  #  J  bs P  E  F  bs S  E  S  S  I  O  N  
  79. :    0044: 20 54 45 52 4D 49 4E 41 54 45 44 20 41 54 20 30     TERMINATED AT 0
  80. :          bs T  E  R  M  I  N  A  T  E  D  bs A  T  bs 0  
  81. :    0054: 30 2D 31 30 2D 31 38 20 31 36 3A 35 38 3A 35 39    0-10-18 16:58:59
  82. :          0  -  1  0  -  1  8  bs 1  6  :  5  8  :  5  9  
  83. :    0064: 26 32 2F 0D                                        &2/.
  84. :          &  2  /  ^M 
  85. : *** The client just confirms the last package received.
  86. : 1> 001F: 23 41 25 20 5F 59 29 31 59 0D                      #A% _Y)1Y.
  87. :          #  A  %  bs _  Y  )  1  Y  ^M 
  88. : *** The server sents a password prompt to the client.
  89. : 0> 0068: 23 41 75 24 20 42 23 4D 23 4A 41 43 2D 43 43 31    #Au$ B#M#JAC-CC1
  90. :          #  A  u  $  bs B  #  M  #  J  A  C  -  C  C  1  
  91. :    0078: 2D 53 50 58 32 30 30 30 20 56 33 30 31 31 20 50    -SPX2000 V3011 P
  92. :          -  S  P  X  2  0  0  0  bs V  3  0  1  1  bs P  
  93. :    0088: 4C 3A 30 30 2E 39 36 20 43 55 53 54 4F 4D 45 52    L:00.96 CUSTOMER
  94. :          L  :  0  0  .  9  6  bs C  U  S  T  O  M  E  R  
  95. :    0098: 3A 20 54 45 4C 45 4D 41 52 20 20 53 49 54 45 3A    : TELEMAR  SITE:
  96. :          :  bs T  E  L  E  M  A  R  bs bs S  I  T  E  :  
  97. :    00A8: 20 42 4F 4E 49 54 4F 20 20 20 20 20 20 20 20 20     BONITO         
  98. :          bs B  O  N  I  T  O  bs bs bs bs bs bs bs bs bs 
  99. :    00B8: 20 23 4D 23 4A 50 4C 45 41 53 24 58 38 0D 23 41     #M#JPLEAS$X8.#A
  100. :          bs #  M  #  J  P  L  E  A  S  $  X  8  ^M #  A  
  101. :    00C8: 36 20 21 42 45 20 45 4E 54 45 52 20 50 41 53 53    6 !BE ENTER PASS
  102. :          6  bs !  B  E  bs E  N  T  E  R  bs P  A  S  S  
  103. :    00D8: 57 4F 52 44 3E 21 28 21 0D                         WORD>!(!.
  104. :          W  O  R  D  >  !  (  !  ^M 
  105. : *** The client sends 2 ack packages and a data (D) package
  106. :     with the password. Yes, I changed the password! :-)
  107. : 1> 0029: 23 41 25 20 20 59 2A 24 33 0D 23 41 25 20 21 59    #A%  Y*$3.#A% !Y
  108. :          #  A  %  bs bs Y  *  $  3  ^M #  A  %  bs !  Y  
  109. :    0039: 2B 43 2B 0D 23 41 2A 20 21 44 4B 49 4E 4E 23 4A    +C+.#A* !KINN#J
  110. :          +  C  +  ^M #  A  *  bs !  D  K  I  N  N  #  J  
  111. :    0049: 29 33 31 0D                                        )11.
  112. :          )  3  1  ^M 
  113. : *** The server sends the command prompt in a S-package.
  114. : 0> 00E1: 23 41 25 20 21 59 2B 43 2B 0D 23 41 38 20 22 53    #A% !Y+C+.#A8 "S
  115. :          #  A  %  bs !  Y  +  C  +  ^M #  A  8  bs "  S  
  116. :    00F1: 23 4D 23 4A 30 30 2D 31 30 2D 31 38 20 31 36 3A    #M#J00-10-18 16:
  117. :          #  M  #  J  0  0  -  1  0  -  1  8  bs 1  6  :  
  118. :    0101: 35 39 3A 30 37 29 4C 39 0D 23 41 28 20 23 5A 23    59:07)L9.#A( #Z#
  119. :          5  9  :  0  7  )  L  9  ^M #  A  (  bs #  Z  #  
  120. :    0111: 4D 23 4A 3E 21 21 4A 0D                            M#J>!!J.
  121. :          M  #  J  >  !  !  J  ^M 
  122. :  
  123. : *** The client sends the command. (All I have to do is automate 
  124. :     this single command. :-)
  125. : 1> 004D: 23 41 25 20 22 59 29 2A 43 0D 23 41 25 20 23 59    #A% "Y)*C.#A% #Y
  126. :          #  A  %  bs "  Y  )  *  C  ^M #  A  %  bs #  Y  
  127. :    005D: 28 4D 5B 0D 23 41 30 20 22 44 44 49 53 20 53 54    (M[.#A0 "DDIS ST
  128. :          (  M  [  ^M #  A  0  bs "  D  D  I  S  bs S  T  
  129. :    006D: 4E 41 53 53 4E 21 4C 35 0D                         NASSN!L5.
  130. :          N  A  S  S  N  !  L  5  ^M 
  131. : *** The server sends the extension-command prompt.
  132. : 0> 0119: 23 41 25 20 22 59 29 2A 43 0D 23 41 3E 20 24 46    #A% "Y)*C.#A> $F
  133. :          #  A  %  bs "  Y  )  *  C  ^M #  A  >  bs $  F  
  134. :    0129: 53 54 41 54 49 4F 4E 20 45 58 54 45 4E 53 49 4F    STATION EXTENSIO
  135. :          S  T  A  T  I  O  N  bs E  X  T  E  N  S  I  O  
  136. :    0139: 4E 20 4E 55 4D 42 45 52 3D 28 2A 4D 0D             N NUMBER=(*M.
  137. :          N  bs N  U  M  B  E  R  =  (  *  M  ^M 
  138. : *** The client sends the rest of the command. Just a CTRL-M.
  139. : 1> 0076: 23 41 25 20 24 59 2C 39 53 0D 23 41 26 20 23 44    #A% $Y,9S.#A& #D
  140. :          #  A  %  bs $  Y  ,  9  S  ^M #  A  &  bs #  D  
  141. :    0086: 23 4A 25 4A 40 0D                                  #J%J@.
  142. :          #  J  %  J  @  ^M 
  143. : *** Then the result of the command appear.
  144. : 0> 0146: 23 41 25 20 23 59 28 4D 5B 0D 23 41 49 20 25 4D    #A% #Y(M[.#AI %M
  145. :          #  A  %  bs #  Y  (  M  [  ^M #  A  I  bs %  M  
  146. :    0156: 20 44 49 53 50 4C 41 59 20 53 54 4E 41 53 53 4E     DISPLAY STNASSN
  147. :          bs D  I  S  P  L  A  Y  bs S  T  N  A  S  S  N  
  148. :    0166: 20 30 30 2D 31 30 2D 31 38 20 31 36 3A 35 39 3A     00-10-18 16:59:
  149. :          bs 0  0  -  1  0  -  1  8  bs 1  6  :  5  9  :  
  150. :    0176: 33 37 23 4D 23 4A 25 43 2B 0D 23 41 27 20 26 44    37#M#J%C+.#A' &D
  151. :          3  7  #  M  #  J  %  C  +  ^M #  A  '  bs &  D  
  152. :    0186: 23 4D 23 4A 22 55 5E 0D 23 41 72 20 27 44 23 4D    #M#J"U^.#Ar 'D#M
  153. :          #  M  #  J  "  U  ^  ^M #  A  r  bs '  D  #  M  
  154. :    0196: 23 4A 20 20 20 20 20 20 20 20 20 20 20 20 20 20    #J              
  155. :          #  J  bs bs bs bs bs bs bs bs bs bs bs bs bs bs 
  156. :    01A6: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
  157. :          bs bs bs bs bs bs bs bs bs bs bs bs bs bs bs bs 
  158. :    01B6: 20 20 20 20 4B 45 59 20 20 52 53 54 20 20 52 53        KEY  RST  RS
  159. :          bs bs bs bs K  E  Y  bs bs R  S  T  bs bs R  S  
  160. :    01C6: 54 20 20 57 52 4D 20 48 4F 54 20 46 45 41 54 20    T  WRM HOT FEAT 
  161. :          T  bs bs W  R  M  bs H  O  T  bs F  E  A  T  bs 
  162. :    01D6: 20 20 20 20 20 20 20 43 48 41 52 47 45 2B 3F 26           CHARGE+?&
  163. :          bs bs bs bs bs bs bs C  H  A  R  G  E  +  ?  &  
  164. :    01E6: 0D                                                 .
  165. :          ^M 
  166. : *** The ack of the last three packages.
  167. : 1> 008C: 23 41 25 20 25 59 2D 5E 4B 0D 23 41 25 20 26 59    #A% %Y-^K.#A% &Y
  168. :          #  A  %  bs %  Y  -  ^  K  ^M #  A  %  bs &  Y  
  169. :    009C: 2F 37 23 0D 23 41 25 20 27 59 2E 50 3B 0D          /7#.#A% 'Y.P;.
  170. :          /  7  #  ^M #  A  %  bs '  Y  .  P  ;  ^M 
  171. : *** More results...
  172. : 0> 01E7: 23 41 73 20 28 44 23 4D 23 4A 20 53 54 4E 20 20    #As (D#M#J STN  
  173. :          #  A  s  bs (  D  #  M  #  J  bs S  T  N  bs bs 
  174. :    01F7: 50 45 4E 20 54 59 50 45 20 43 4F 53 20 53 44 20    PEN TYPE COS SD 
  175. :          P  E  N  bs T  Y  P  E  bs C  O  S  bs S  D  bs 
  176. :    0207: 43 41 54 20 4F 52 49 20 50 41 52 20 57 4F 52 44    CAT ORI PAR WORD
  177. :          C  A  T  bs O  R  I  bs P  A  R  bs W  O  R  D  
  178. :    0217: 20 47 52 50 20 20 43 41 54 20 20 4C 4E 45 20 4C     GRP  CAT  LNE L
  179. :          bs G  R  P  bs bs C  A  T  bs bs L  N  E  bs L  
  180. :    0227: 4E 45 20 41 54 54 52 20 20 20 4C 53 54 23 23 20    NE ATTR   LST## 
  181. :          N  E  bs A  T  T  R  bs bs bs L  S  T  #  #  bs 
  182. :    0237: 4D 45 54 45 52 20 20 27 48 53 0D 23 41 74 20 29    METER  'HS.#At )
  183. :          M  E  T  E  R  bs bs '  H  S  ^M #  A  t  bs )  
  184. :    0247: 44 23 4D 23 4A 31 30 30 30 20 36 30 30 30 20 44    D#M#J1000 6000 D
  185. :          D  #  M  #  J  1  0  0  0  bs 6  0  0  0  bs D  
  186. :    0257: 54 4D 46 20 20 31 20 20 20 30 20 20 31 20 20 20    TMF  1   0  1   
  187. :          T  M  F  bs bs 1  bs bs bs 0  bs bs 1  bs bs bs 
  188. :    0267: 31 20 20 20 2D 20 20 2D 2D 2D 2D 20 4E 2D 20 30    1   -  ---- N- 0
  189. :          1  bs bs bs -  bs bs -  -  -  -  bs N  -  bs 0  
  190. :    0277: 20 30 30 30 30 20 2D 2D 2D 20 2D 2D 2D 20 34 38     0000 --- --- 48
  191. :          bs 0  0  0  0  bs -  -  -  bs -  -  -  bs 4  8  
  192. :    0287: 30 30 30 30 20 30 36 37 38 20 30 30 30 30 30 30    0000 0678 000000
  193. :          0  0  0  0  bs 0  6  7  8  bs 0  0  0  0  0  0  
  194. :    0297: 36 39 2C 42 22 0D 23 41 74 20 2A 44 23 4D 23 4A    69,B".#At *D#M#J
  195. :          6  9  ,  B  "  ^M #  A  t  bs *  D  #  M  #  J  
  196. :    02A7: 31 30 30 31 20 36 30 30 31 20 44 54 4D 46 20 20    1001 6001 DTMF  
  197. :          1  0  0  1  bs 6  0  0  1  bs D  T  M  F  bs bs 
  198. :    02B7: 31 20 20 20 30 20 20 33 20 20 20 31 20 20 20 2D    1   0  3   1   -
  199. :          1  bs bs bs 0  bs bs 3  bs bs bs 1  bs bs bs -  
  200. :    02C7: 20 20 2D 2D 2D 2D 20 4E 2D 20 30 20 30 30 30 30      ---- N- 0 0000
  201. :          bs bs -  -  -  -  bs N  -  bs 0  bs 0  0  0  0  
  202. :    02D7: 20 2D 2D 2D 20 2D 2D 2D 20 30 30 30 30 31 30 20     --- --- 000010 
  203. :          bs -  -  -  bs -  -  -  bs 0  0  0  0  1  0  bs 
  204. :    02E7: 30 36 37 39 20 30 30 30 30 30 30 30 31 20 55 35    0679 00000001 U5
  205. :          0  6  7  9  bs 0  0  0  0  0  0  0  1  bs U  5  
  206. :    02F7: 0D                                                 .
  207. :          ^M 
  208. : *** More 3 ACK packages...
  209. : 1> 00AA: 23 41 25 20 28 59 26 5F 33 0D 23 41 25 20 29 59    #A% (Y&_3.#A% )Y
  210. :          #  A  %  bs (  Y  &  _  3  ^M #  A  %  bs )  Y  
  211. :    00BA: 27 38 2B 0D 23 41 25 20 2A 59 25 51 43 0D          '8+.#A% *Y%QC.
  212. :          '  8  +  ^M #  A  %  bs *  Y  %  Q  C  ^M 
  213. : and the result of the command continues to come in sequences 
  214. : of three packages... (see the big questions I have made at the
  215. : begining of this mesage.) 
  216. : Thanks again.A
  217. :                                                   
  218. :    
  219.  
  220.  
  221.                   Jeffrey Altman * Sr.Software Designer
  222.                  The Kermit Project * Columbia University
  223.                612 West 115th St * New York, NY * 10025 * USA
  224.      http://www.kermit-project.org/ * kermit-support@kermit-project.org